import { Navigate } from 'react-router-dom'
import { Children, lazy } from 'react'
let Navpage = lazy(() => import('../../views/zhu/navpage'))
let Space = lazy(() => import("../../views/kai/Spaces/space"))
let Active=lazy(() => import('../../views/kai/Actives/active'))
let Bao=lazy(() => import('../../views/kai/Baos/bao'))
let Health=lazy(() => import('../../views/kai/Health/health'))
let Topic=lazy(() => import('../../views/kai/Topics/topic'))
let Fan=lazy(() => import('../../views/kai/Fans/fan'))
let Tags=lazy(() => import('../../views/kai/Tags/tags'))
let Fields=lazy(() => import('../../views/kai/Fields/fields'))
let Slideshow=lazy(() => import('../../views/kai/SlideShows/Slideshow'))
let AddslideShow=lazy(() => import('../../views/kai/SlideShows/addslideShow'))
let AddActive=lazy(() => import('../../views/kai/Actives/addActive'))
let Video=lazy(() => import('../../views/kai/Video/video'))
let Addvideo=lazy(() => import('../../views/kai/Video/Addvideo'))
let Kai = [
    {
        path: "/zhu/navpage",
        element: <Navpage></Navpage>,
        children: [
           {
                path: 'Space',
                element: <Space></Space>,
            },
             {
                path: 'Active',
                element: <Active></Active>,
            },
             {
                path: 'Bao',
                element: <Bao></Bao>,
            },
             {
                path: 'Health',
                element: <Health></Health>,
            },
             {
                path: 'Topic',
                element: <Topic></Topic>,
            },
             {
                path: 'Fan',
                element: <Fan></Fan>,
            },
             {
                path: 'Tags',
                element: <Tags></Tags>,
            },
             {
                path: 'Fields',
                element: <Fields></Fields>,
            },
            {
                path: 'Slideshow',
                element: <Slideshow></Slideshow>,
            },
            {
                path: 'AddslideShow',
                element: <AddslideShow></AddslideShow>,
            },
            {
                path: 'AddActive',
                element: <AddActive></AddActive>,
            },
            {
                path: 'Video',
                element: <Video></Video>,
            },
            {
                path: 'Addvideo',
                element: <Addvideo></Addvideo>,
            },
            
            
            
            

        ]
    },
   
]

export default Kai